#include<stdio.h>
struct A
{
	int data[1000];
	int num;
};
struct A a = { {1,2,3,4},666 };
void print1(struct A a)
{
	printf("%d\n", a.num);
}
void print2(struct A* a)
{
	printf("%d\n", a->num);
}
int main()
{
	print1(a);
	print2(&a);
	return 0;
}